package cn.com.lyj6851.auth.client.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * <p>
 * OAuth2客户端
 * </p>
 *
 */


@TableName("sys_oauth_client_details")
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Client {

	@TableId
	private String clientId;
	
	private String clientSecret;
	
	private String resourceIds;
	private String scope;
	
	private String authorizedGrantType;
	
	private String webServerRedirectUri;
	private String authorities;
	
	private int accessTokenValidity;
	
	private int refreshTokenValidity;
	
	private String additionalInformation;
	private String autoapprove;
}
